﻿using System.Collections.ObjectModel;
using KPIS.GERP.Models.ACM;
using KPIS.GERP.Models.FIM;
using KPIS.GERP.Models.HRM;
using KPIS.GERP.Models.ICM;
using KPIS.GERP.Models.SYS;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;

namespace KPIS.GERP.Models.Migrations
{
    public partial class Configuration
    {
        public void SeedACM(GERPContext context)
        {
            context.MasAccount.AddOrUpdate(new MasAccount
                {
                    AccountId = 1,
                    AccountCode = "123456789",
                    AccountName = "บัญชี #1",
                    RecordStatus = RecordStatus.UsedStatus
                });
        }
    }
}